// @Bind #btnMinute.onClick
!function() {
	var action = view.get("#ajaxActionminute");
	// 获取用户在editor中的输入值
	var value = view.get("#textEditorMinute.value");
	if (value == '' || value == null) {
		dorado.MessageBox.alert("请选择时间", {
			icon : "WARNING"
		});
	} else {
		action.set("parameter", value);
		action.execute(function(result) {
		});
	}
};

// @Bind #btnHour.onClick
!function() {
	var action = view.get("#ajaxActionhour");
	var value = view.get("#textEditHour.value");
	if (value == '' || value == null) {
		dorado.MessageBox.alert("请选择时间", {
			icon : "WARNING"
		});
	} else {
		action.set("parameter", value);
		action.execute(function(result) {
		});
	}
};

// @Bind #btnExpression.onClick
!function() {
	var action = view.get("#ajaxActionExpression");
	var value = view.get("#textEditExpression.value");
	if (value == '' || value == null) {
		dorado.MessageBox.alert("请输入表达式", {
			icon : "WARNING"
		});
	} else {
		action.set("parameter", value);
		action.execute(function(result) {
		});
	}
};